package com.yuan.servicefeign.service.impl;

import com.yuan.servicefeign.service.HelloService;
import org.springframework.stereotype.Component;

/**
 * @ClassName HelloServiceImpl
 * @Description:
 * @Author yuan
 * @Date 2020/8/4 
 * @Version V1.0
 **/
@Component
public class HelloServiceImpl implements HelloService {

    /**
     * @description:
     * @auther:         yuan
     * @date:           2020/8/4 15:29
     * @param:
     * @return:
     */
    @Override
    public String hello(String name) {
        return "open feign + hystrix";
    }

    @Override
    public String info(String name) {
        return "open feign + hystrix + info method";
    }
}
